]> dgit.raspbian.org Git - gnome-shell.git/commit
Call shell_global_maybe_gc() when no work is being done
authorAdel Gadllah <adel.gadllah@gmail.com>
Fri, 21 May 2010 21:25:41 +0000 (23:25 +0200)
committerAdel Gadllah <adel.gadllah@gmail.com>
Fri, 21 May 2010 21:47:41 +0000 (23:47 +0200)
commitce3f003e467781f55ceed2ad5accd7b6f212f93a
treef39014aa2f9b4a7184db7f6fe5d2fae1a90d0da7
parent9fca747ef439a94f537b0b8923ae30a469841f7c
Call shell_global_maybe_gc() when no work is being done

Call shell_global_maybe_gc when idle when no other work is ongoing to free
up memory and improve performance by preventing the GC to kick in at less
convenient times.

See: https://developer.mozilla.org/en/SpiderMonkey/JSAPI_Reference/JS_MaybeGC

https://bugzilla.gnome.org/show_bug.cgi?id=614725
src/shell-global.c